package com.demo.studentmanager.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author zjia
 */
@TableName("department")
@Data
@Accessors(chain = true)
public class Department {
    @ApiModelProperty(value = "院系号")
    @TableId
    private String deptno;

    @ApiModelProperty(value = "院系名")
    private String deptname;

    @ApiModelProperty(value = "院系负责人")
    private String deptheader;

    @ApiModelProperty(value = "办公室地址")
    private String office;
}
